package p2p.command;

import p2p.peer.client.ClientManager;

public class Leave extends Command {

	public Leave(String ip, int port) {
		super(ip, port);
	}

	@Override
	public void execute() {

		this.listener.logPeerAction("clearing all clients");

		ClientManager.getInstance().clearClients();

	}

}
